package com.lby.bill.mapper;

import com.lby.bill.entities.Bill;
import com.lby.bill.entities.BillProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Mapper 或 @MapperScan("com.lby.bill.mapper")
@Repository
public interface BillMapper {

    List<BillProvider> getBills(Bill bill);

    BillProvider getBillByBid(Integer bid);

    int addBill(Bill bill);

    int updateBill(Bill bill);

    int deteleBillByBid(Integer bid);

}
